package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 包名:com.itheima.controller
 * 作者:Leevi
 * 日期2020-02-21  09:19
 */
@Controller
@RequestMapping("user")
public class UserController {
    @RequestMapping("getName")
    public String getName(){
        System.out.println("请求到达了UserController....");
        return "success";
    }
}
